<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>3D旋转</title>
    <style>
        html{
            perspective: 800px; 
        }
        div{
            width: 300px;
            height: 150px;
            margin: 300px auto;
            position: relative;
            transform-style: preserve-3d;
            animation: xxx 10s infinite linear;
            cursor: pointer;
        }
        div:hover{
            animation-play-state: paused;
        }
        img{
            width: 100%;
            height: 100%;
            vertical-align: bottom;
            position: absolute;
            -webkit-box-reflect: below 5px -webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,0)),to(rgba(255,255,255,0.5)));
            border-radius: 20px;
            opacity: 0.7;
        }
        img:nth-child(1){
            transform: rotateY(60deg) translateZ(300px);
        }
        img:nth-child(2){
            transform: rotateY(120deg) translateZ(300px);
        }
        img:nth-child(3){
            transform: rotateY(180deg) translateZ(300px);
        }
        img:nth-child(4){
            transform: rotateY(240deg) translateZ(300px);
        }
        img:nth-child(5){
            transform: rotateY(300deg) translateZ(300px);
        }
        img:nth-child(6){
            transform: rotateY(360deg) translateZ(300px);
        }
        @keyframes xxx {
            0%{
                transform: rotateY(0deg);
            }
            100%{
                transform: rotateY(360deg);
            }
        }
    </style>
</head>
<body>
    <div>
        <img src="./图片/2.jpg">
        <img src="./图片/3.jpg">
        <img src="./图片/4.jpg">
        <img src="./图片/5.jpg">
        <img src="./图片/8.jpg">
        <img src="./图片/7.jpg">
    </div>
</body>
</html>